.flex {
  display: flex;
}

.flex-ac {
  align-items: center;
}



html,
body {
  width: 100%;
  height: 100%;
}

.sign-container {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

.sign-box {
  max-width: 400px;
  margin: 80px auto;
}

.sign-text {
  margin-left: 20px;
}

.alert {
  position: fixed;
  z-index: 9999;
  width: 30rem;
  left: 50%;
  top: 1rem;
  transform: translateX(-50%);
}

.editor-header {
  height: 70px;
  position: relative;
  box-shadow: 0 2px 0 0 #f5f5f5;
  padding: 0 90px 0 40px;
}

.article-header {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 30px;
}

.publish {
  position: absolute;
  right: 30px;
  top: 0;
  transform: translateY(50%);
  z-index: 999;
}

#editor{
  height: calc(100vh - 104px);
}

#editor .input,
#editor .show{
  display: inline-block;
  width: 49%;
  height: 100%;
  vertical-align: top;
  box-sizing: border-box;
  padding: 15px 20px;
}

#editor .input {
  border: none;
  border-right: 1px solid #ccc;
  resize: none;
  outline: none;
  border-radius:0;
  background-color: #f6f6f6;
  font-size: 14px;
  font-family: 'Monaco', courier, monospace;
  padding: 20px;
}

#editor .show{
  overflow-y: auto;
}


.home-container{
  height: 260px;
  background-image: linear-gradient(to right,  #a5ecb5,#2ab9dd 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fefefe;
  padding: 0 60px;
}

.home-container .title{
  font-size: 30px;
}

.home-container .subtitle{
  font-size: 20px;
  font-weight: normal;
}

.article-container{
  max-width: 800px;
  margin: 0 auto;
  margin-top: 30px;
}

.border{
  border: 1px solid #ccc;
  border-radius: 4px;
}

.ellipsis{
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}